import request from '@/utils/request'

// 查询考试模版表列表
export function listEx_model(query) {
    return request({
        url: '/score/ex_model/list',
        method: 'get',
        params: query
    })
}

// 查询考试模版表详细
export function getEx_model(id) {
    return request({
        url: '/score/ex_model/' + id,
        method: 'get'
    })
}

// 新增考试模版表
export function addEx_model(data) {
    return request({
        url: '/score/ex_model',
        method: 'post',
        data: data
    })
}

// 修改考试模版表
export function updateEx_model(data) {
    return request({
        url: '/score/ex_model',
        method: 'put',
        data: data
    })
}

// 删除考试模版表
export function delEx_model(id) {
    return request({
        url: '/score/ex_model/' + id,
        method: 'delete'
    })
}
